package com.ruoyi.qsng.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品-我的核销对象 k_write_off
 *
 * @author kanglou
 * @date 2023-06-07
 */
@ApiModel("商品-我的核销对象 k_write_off")
public class KWriteOff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 核销人id */
    @Excel(name = "核销人id")
    @ApiModelProperty("核销人id")
    private String userId;
    /** 用户账号 */
    @Excel(name = "核销人")
    @ApiModelProperty("用户账号")
    private String userName;
    /** 兑换id */
    @Excel(name = "兑换id")
    @ApiModelProperty("兑换id")
    private String verificationId;
    /** 商品名称 */
    @Excel(name = "商品名称")
    @ApiModelProperty("商品名称")
    private String commodityName;
    /** 商品首页图片 */
    @Excel(name = "商品首页图片")
    @ApiModelProperty("商品首页图片")
    private String picture;
    /** 商品分类,对应表k_commodity_type */
    @Excel(name = "商品分类")
    @ApiModelProperty("商品分类,对应表k_commodity_type")
    private String typeStr;
    /** 商品详情 */
    @ApiModelProperty("商品详情")
    @Excel(name = "商品详情")
    private String content;
    /** 积分 */
    @ApiModelProperty("积分")
    @Excel(name = "积分")
    private Integer integral;
    @ApiModelProperty("库存")
    @Excel(name = "库存")
    private Long inventory;
    /** 微信id */
    @ApiModelProperty("微信id")
    private String openId;
    /** 密码 */
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("手机号")
    private String phone;
    /** 用户头像 */
    @ApiModelProperty("用户头像")
    private String avatar;
    /** 学员姓名 */
    @ApiModelProperty("学员姓名")
    private String nickName;
    /** 学员年龄 */
    @ApiModelProperty("学员年龄")
    private Integer nickAge;
    /** 学员民族 */
    @ApiModelProperty("学员民族")
    private String nickNation;
    /** 学员身份证件号 */
    @ApiModelProperty("学员身份证件号")
    private String nickCard;
    /** 家长姓名 */
    @ApiModelProperty("家长姓名")
    private String homeName;
    /** 家长电话 */
    @ApiModelProperty("家长电话")
    private String homePhone;
    /** 所在学校 */
    @ApiModelProperty("所在学校")
    private String nickSchool;
    /** 所在年级 */
    @ApiModelProperty("所在年级")
    private String nickLevel;
    /** 商品分类,对应表k_commodity_type */
    @ApiModelProperty("商品分类,对应表k_commodity_type")
    private String type;

    /** 主键 */
    private String id;

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setVerificationId(String verificationId)
    {
        this.verificationId = verificationId;
    }

    public String getVerificationId()
    {
        return verificationId;
    }
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getNickAge() {
        return nickAge;
    }

    public void setNickAge(Integer nickAge) {
        this.nickAge = nickAge;
    }

    public String getNickNation() {
        return nickNation;
    }

    public void setNickNation(String nickNation) {
        this.nickNation = nickNation;
    }

    public String getNickCard() {
        return nickCard;
    }

    public void setNickCard(String nickCard) {
        this.nickCard = nickCard;
    }

    public String getHomeName() {
        return homeName;
    }

    public void setHomeName(String homeName) {
        this.homeName = homeName;
    }

    public String getHomePhone() {
        return homePhone;
    }

    public void setHomePhone(String homePhone) {
        this.homePhone = homePhone;
    }

    public String getNickSchool() {
        return nickSchool;
    }

    public void setNickSchool(String nickSchool) {
        this.nickSchool = nickSchool;
    }

    public String getNickLevel() {
        return nickLevel;
    }

    public void setNickLevel(String nickLevel) {
        this.nickLevel = nickLevel;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Long getInventory() {
        return inventory;
    }

    public void setInventory(Long inventory) {
        this.inventory = inventory;
    }

    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("verificationId", getVerificationId())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("openId", getOpenId())
            .append("userName", getUserName())
            .append("password", getPassword())
            .append("phone", getPhone())
            .append("avatar", getAvatar())
            .append("nickName", getNickName())
            .append("nickAge", getNickAge())
            .append("nickNation", getNickNation())
            .append("nickCard", getNickCard())
            .append("homeName", getHomeName())
            .append("homePhone", getHomePhone())
            .append("nickSchool", getNickSchool())
            .append("nickLevel", getNickLevel())
            .append("commodityName", getCommodityName())
            .append("picture", getPicture())
            .append("type", getType())
            .append("content", getContent())
            .append("integral", getIntegral())
            .append("inventory", getInventory())
            .append("typeStr", getTypeStr())
            .toString();
    }
}
